//
//  HeaderView.h
//  wtshoppingcite
//
//  Created by TW on 14-10-23.
//  Copyright (c) 2014年 TW. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "OtherModel.h"
#import "UpYun.h"

@protocol headerViewDelegate <NSObject>

-(void)joinLoginVC;

@end

@interface HeaderView : SecondLevelView<UIActionSheetDelegate,UIImagePickerControllerDelegate,UINavigationControllerDelegate>

@property (nonatomic,strong)UIImageView* headerImageView;
@property (nonatomic,strong)UILabel* nickLabel;
@property (nonatomic,strong)UILabel* taskListLabel;
@property (nonatomic,strong)UILabel* focusNumLabel;
@property (nonatomic,strong)UILabel* fansNumLabel;
@property(nonatomic,strong)UILabel* scoreLabel;
@property(strong,nonatomic)UIImageView *bjImageview;

@property (nonatomic,strong)UILabel* taskLabel;
@property (nonatomic,strong)UILabel* focusLabel;
@property (nonatomic,strong)UILabel* fansLabel;
@property(nonatomic,strong)UIImageView *iconImage;

@property(nonatomic,strong)OtherModel *otherModel;

@property(strong,nonatomic)NSString *imageStr;
@property(strong,nonatomic)NSString *imageUrl;

@property(assign,nonatomic)id<headerViewDelegate>delegate;

-(UIImage*)imageWithImageSimple:(UIImage*)image scaledToSize:(CGSize)newSize;

@end
